import request from './request'

/**
 * 
 * @param {*} params limit page keyword  页数和条数与昵称模糊搜索
 * @returns 
 * 会员列表
 */
export const memberList = (params) => {
    return request({
        url: '/User',
        method: 'get',
        params
    })
}
/**
 * 
 * @param {*} id 
 * @returns 
 */
export const memberDetali = (id) => {
    return request({
        url: `/User/${id}`,
        method: 'get',
    })
}